<template>
  <div v-show="item.isShow" class="f as pt10 pb10 cusTextArea">
    <div
      :class="['nowrap mr10 tr', item.required ? 'need' : '']"
      :style="{
        width: item.isLabelWidth ? item.labelWidth + 'px' : 'auto',
      }"
    >
      {{item.label}}
    </div>
    <div :class="['f1 rel rds5 pt7 pl7 pr7 pb7 wrap', item.errmsg ? 'error' : '']" style="border:1px solid #ccc;min-height:30px;">
      {{item.value}}
    </div>
  </div>
</template>
<script src='./index.js'></script>
<style src='./index.css' scoped></style>
<style>
.cusTextArea textarea {
  border:none;
}
.cusTextArea .ivu-input:focus{
  box-shadow: 0 0 0 2px rgba(26, 173, 167,.2)
}
</style>